package com.syh.jn.scm.domain.upstream.event;

import com.syh.core.ddd.domain.DomainEvent;
import com.syh.jn.scm.domain.upstream.entity.finance.UpStatementAccountBill;

public class UpStatementAccountBillEvent extends DomainEvent<UpStatementAccountBill> {

  public static final String UP_STATEMENT_BILL_ACCOUNT_CREATED = "upStatementBillAccountCreated";
  public static final String UP_STATEMENT_BILL_ACCOUNT_UPDATA = "upStatementBillAccountUpdata";
  public static final String UP_STATEMENT_BILL_ACCOUNT_DESTORY = "upStatementBillAccountDestory";

  public static UpStatementAccountBillEvent bulidUpStatementBillAccountCreated(Object[] values) {
    UpStatementAccountBillEvent stateEvent = new UpStatementAccountBillEvent();
    stateEvent.eventName = UP_STATEMENT_BILL_ACCOUNT_CREATED;
    stateEvent.values = values;
    return stateEvent;
  }

  public static UpStatementAccountBillEvent bulidUpStatementBillAccountUpdata(Object[] values) {
    UpStatementAccountBillEvent stateEvent = new UpStatementAccountBillEvent();
    stateEvent.eventName = UP_STATEMENT_BILL_ACCOUNT_UPDATA;
    stateEvent.values = values;
    return stateEvent;
  }

  public static UpStatementAccountBillEvent bulidUpStatementBillAccountDestory(Object[] values) {
    UpStatementAccountBillEvent stateEvent = new UpStatementAccountBillEvent();
    stateEvent.eventName = UP_STATEMENT_BILL_ACCOUNT_DESTORY;
    stateEvent.values = values;
    return stateEvent;
  }
}

